package com.wulijie.state;

/**
 * @Author cui
 * @Data
 */
public class NoCanGetGift extends State{

    RaffleActivity raffleActivity;

    public NoCanGetGift(RaffleActivity raffleActivity) {
        this.raffleActivity = raffleActivity;
    }

    @Override
    public void isOk() {
        System.out.println("扣除积分成功");
        this.raffleActivity.setState(this.raffleActivity.getCanGet());
    }
}
